<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <title></title>
    <style>
        .clock {
            width: 400px;
            height: 400px;
            background-color: pink;
            position: relative;
            margin: 100px auto;
            border: 20px solid greenyellow;
            border-radius: 210px;
        }
        .line {
            display: block;
            width: 4px;
            height: 100%;
            background-color: blue;
            position: absolute;
            top: 50%;
            left: 50%;
            margin-top: -200px;
        }
        .line2 {
            transform: rotate(30deg);
        }
        .line3 {
            transform: rotate(60deg);
        }
        .line4 {
            transform: rotate(90deg);
        }
        .line5 {
            transform: rotate(120deg);
        }
        .line6 {
            transform: rotate(150deg);
        }
        .cover {
            width: 340px;
            height: 340px;
            background-color: purple;
            position: absolute;
            top: 50%;
            left: 50%;
            margin-top: -170px;
            margin-left: -170px;
            border-radius: 170px;
        }
        .hour {
            width: 6px;
            height: 100px;
            background-color: black;
            position: absolute;
            top: 50%;
            left: 50%;
            margin-top: -100px;
            transform-origin: bottom center;
            animation: changeTime 43200s steps(60) infinite;
        }
        .minute {
            width: 4px;
            height: 120px;
            background-color: orange;
            position: absolute;
            top: 50%;
            left: 50%;
            margin-top: -120px;
            margin-left: 1px;
            transform-origin: bottom center;
            animation: changeTime 3600s steps(60) infinite;
        }
        .second {
            width: 2px;
            height: 140px;
            background-color: red;
            position: absolute;
            top: 50%;
            left: 50%;
            margin-top: -140px;
            margin-left: 2px;
            transform-origin: bottom center;
            animation: changeTime 60s steps(60) infinite;
        }
        .circle {
            width: 30px;
            height: 30px;
            background-color: green;
            position: absolute;
            top: 50%;
            left: 50%;
            margin-left: -12px;
            margin-top: -12px;
            border-radius: 15px;
        }
        @keyframes changeTime {
            from {
                transform: rotate(0deg);
            }to {
                transform: rotate(360deg);
            }
        }
    </style>
</head>
<body>
<div class="clock">
    <span class="line line1"></span>
    <span class="line line2"></span>
    <span class="line line3"></span>
    <span class="line line4"></span>
    <span class="line line5"></span>
    <span class="line line6"></span>
    <div class="cover"></div>
    <div class="hour"></div>
    <div class="minute"></div>
    <div class="second"></div>
    <div class="circle"></div>
</div>

</body>
</html>